<div id="header_wrap">
    <div id="header">
        <div style="float: left; width: 310px;">
            <h1>
                <!--<a href="/" title="宽屏大气文章类&#45;&#45;41天鹰模板">宽屏大气文章类&#45;&#45;41天鹰模板</a>-->
                <!--<div class="" id="logo-sub-class">-->
                <!--</div>-->
            </h1>
        </div>
        <div id="navi">

            <ul id="jsddm">
                <li><a class="navi_home" href="/">首页</a></li>
                <!--<li><a class="navi_home" target="_blank" href="#">ThinkPHP5视频教程</a></li>-->
              {volist name="cateres" id="cate"}
                <li><a href="
                http://www.qiyefour.com/index.php/index/{if condition="$cate['type'] eq 1"}artlist{elseif condition="$cate['type'] eq 2"}page{elseif condition="$cate['type'] eq 3"}imglist{/if}/index/cateid/{$cate.id}
"  {if condition="$cate['children'] neq 0 "} class="havechild" {/if}  >{$cate.catename}</a>
                  {if condition="$cate['children'] neq 0"}
                    <ul>
                      <?php foreach($cate['children'] as $k2=>$v2): ?>
                        <li><a href="http://www.qiyefour.com/index.php/index/{if condition="$v2['type'] eq 1" }artlist{elseif condition="$v2['type'] eq 2"}page{elseif condition="$v2['type'] eq 3"}imglist{/if} /index/cateid/{$v2['id']} "><?php echo $v2['catename']; ?></a></li>
                      <?php endforeach;?>
                    </ul>
                  {/if}
                </li>
              {/volist}

            </ul>
          <!--栏目类型 1:列表栏目 2:单页栏目 3:图片栏目-->

            <div style="clear: both;">
            </div>


        </div>
        <div style="float: right; width: 209px;">
            <div class="widget" style="height: 30px; padding-top: 20px;">
                <div style="float: left;">
                    <form name="formsearch" action="{:url('search/index')}" method="get">
                        <input name="keywords" type="text" style="background-color: #000000;padding-left: 10px; font-size: 12px;font-family: 'Microsoft Yahei'; color: #999999;height: 29px; width: 160px; border: solid 1px #666666; line-height: 28px;" id="go" onfocus="if(this.value=='在这里搜索...'){this.value='';}" onblur="if(this.value==''){this.value='在这里搜索...';}">
                    </form>
                </div>
                <div style="float: left;">
                    <img src="http://www.qiyefour.com/static/index/images/search-new.png" id="imgSearch" style="cursor: pointer; margin: 0px;
                        padding: 0px;" onclick="subForm()"></div>
                <div style="clear: both;">
                </div>
            </div>
        </div>

    </div>
</div>